# from jsonGen1 import get_file_path
# from jsonGen1 import files

# paths=r'C:\Users\me\Downloads\scripts (2)\scripts'
# get_file_path(paths)
# print(len(files))

from datetime import date
from datetime import datetime
from datetime import timedelta
import  os
# print(os.path.dirname(__file__))

# with open(file=r'C:\Users\me\Downloads\table_name.txt',mode='r' ,encoding='utf-8') as input:
#     for tablename in input.readlines():   
#         print(tablename.strip())

d1=datetime.today()
dates='2022-08-20'
d2=datetime(year=int(dates[:4]), month=int(dates[5:7]),day=int(dates[8:10]))
val=(d2-d1).days

print(val)
print((d1+timedelta(val)).strftime('%Y-%m-%d'))
days=','.join([(d1+timedelta(i)).strftime('%Y-%m-%d') for i in range(0,val+2)])
print(datetime.now()+timedelta(val))

print(dates[0:-1])
